package com.quick.mybatis.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.METHOD,ElementType.FIELD })
public @interface OrderBy {
	
	String columnName() default "";
	
	OrderType orderType() default OrderType.ASC;
	
	int order() default 1;
	
}
